<?php
class MarcaVehiculo extends AppModel {

	var $name = 'MarcaVehiculo';
	var $useTable = 'marca_vehiculos';
	var $displayField = 'descripcion';
	
	var $validate = array(
		'id' => VALID_NOT_EMPTY,
		'vehiculo_id' => VALID_NOT_EMPTY,
		'descripcion' => VALID_NOT_EMPTY,
	);

	var $hasMany = array(
		'Vehiculo' => array('className' => 'Vehiculo',
							'foreignKey' => 'marca_vehiculo_id',
							'conditions' => '',
							'fields' => '',
							'order' => '',
							'limit' => '',
							'offset' => '',
							'dependent' => '',
							'exclusive' => '',
							'finderQuery' => '',
							'counterQuery' => ''),		
	);
}
?>
